<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数字归零游戏</title>
    <link href="https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div id="menu">
        <h1>数字归零游戏</h1>
        <button id="easy">简单模式 (5×5)</button>
        <button id="medium">中等模式 (8×8)</button>
        <button id="hard">困难模式 (10×10)</button>
    </div>
    
    <div id="info" style="display: none;">
        <div>步数: <span id="moves">0</span></div>
        <div>时间: <span id="time">0</span>秒</div>
        <div>最佳: <span id="best-score">暂无</span></div>
        <button id="pause-btn">暂停</button>
        <button id="restart-btn">重新开始</button>
    </div>
    
    <div id="game"></div>
    
    <audio id="click-sound" preload="auto">
        <source src="https://www.soundjay.com/buttons/sounds/button-09.mp3" type="audio/mpeg">
    </audio>
    <audio id="win-sound" preload="auto">
        <source src="https://www.soundjay.com/human/sounds/applause-8.mp3" type="audio/mpeg">
    </audio>
    
    <script src="script.js"></script>
</body>
</html>